<div ng-controller="CustomformDetailCtrl">
    <!--{{title}}-->
    <form ng-submit="vm.submit(vm.model,'sm')" >
        <formly-form model="vm.model" fields="vm.fields" options="vm.options" form="vm.form" ng-if="vm.fields.length" form>
            <div class="col-xs-12 margin-top-30 margin-bottom-30">
                <button type="close"  class="col-md-offset-10 btn btn-primary" ng-click="closeModel()" translate="form.button.CLOSE"  >CLOSE</button>
            </div>
        </formly-form>
        
    </form>
</div>
